package com.htpay.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.htpay.mapper.MerchantChannelMapper;
import com.htpay.model.entity.MerchantChannel;
import com.htpay.service.IMerchantChannelService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 服务类
 * <p>
 * 商户支付通道表 - 实现类
 */
@Service
public class MerchantChannelServiceImpl extends ServiceImpl<MerchantChannelMapper, MerchantChannel> implements IMerchantChannelService {

    @Resource
    MerchantChannelMapper merchantChannelMapper;

    @Override
    public List<MerchantChannel> queryChannelListByMerchantId(Integer merchantId) {
        return merchantChannelMapper.queryChannelListByMerchantId(merchantId);
    }

}
